<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<title>[%$ESPCMS_SOFT_TITLE%]</title>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_font_icon.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_public.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_all.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_framework.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_select.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/pageload.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery-ui.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.cookie.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/md5.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/json.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/bootstrap.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/lngpack_cn.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_form.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_function.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tool.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_page.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_batch.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tab.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/nprogress.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/iframeResizer.contentWindow.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_multiple.js"></script>
		<script type="text/javascript" src="[%$ESPCMS_ADMIN_TEMPLATES_URL%]admin/nevigate.js"></script>
		<script type="text/javascript">
			$(document).ready(function () {
				banpageKey();
				$("[placeholder]").tooltip();
				$('input[type=checkbox],input[type=radio]').espcms_checkbox();
				$("#espcms_saveInfo").espcms_formvalidation();
				$('#espcms_saveInfo').ajaxForm({
					type: 'POST',
					url: '[%$link.save%]',
					dataType: 'json',
					beforeSubmit: function () {
						parent.espcms_are_loading();
					},
					success: function (data) {
						parent.$("#espcms_are_loading").dialog("close");
						parent.$("body").append(data.data);
						if (data.code === 'true') {
							parent.$.espcms_sticky(data.message, {'autoclose': 3000});
							parent.frames['[%$par_iframes_name%]'].refresh('ajax_list');
							parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
						} else {
							var botton = [
								{
									text: "[%pack:botton_pack-espcms_botton_colse%]",
									class: "btn btn-lightgray",
									click: function () {
										parent.$(this).dialog("close");
										parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
									}
								}
							];
							parent.espcms_public_dialog(data.domid_name, botton, 600);
						}
						$(window).unbind('beforeunload');
					}
				});
				$('.espcms_save_cancel').espcms_window_tab('closeTab');
				load_tabclick('.tab_click');
				$('.espcms_dialog_link').espcms_dig();
			});
		</script>
	</head>

	<body class="espcms_style_all">
		<div class="main">
			<div class="espcms_center_content_list">

				<div class="panel">
					<div class="panel-body form_bottom_page">
						<form class="form-horizontal admin-form" id="espcms_saveInfo" action="[%$link.save%]">
							<input type="hidden" name="token_key" id="token_key" value="[%$token.token_key%]"/>
							<input type="hidden" name="token_name" id="token_name" value="[%$token.token_name%]"/>
							<input type="hidden" name="nevigate_id" id="nevigate_id" value="[%$read.nevigate_id%]"/>
							<input type="hidden" name="savetype" value="import"/>
							<div class="section-divider mb40"><span>[%pack:nevigate_pack-espcms_nevigate_button_edit%]</span></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_modul%]</label>
								<div class="col-sm-9 pt6">
									[%if $read.nevigate_modul=='bbs'%][%pack:nevigate_pack-espcms_nevigate_modul_bbs%][%/if%]
									[%if $read.nevigate_modul=='forms'%][%pack:nevigate_pack-espcms_nevigate_modul_forms%][%/if%]
									[%if $read.nevigate_modul=='article'%][%pack:nevigate_pack-espcms_nevigate_modul_article%][%/if%]
									[%if $read.nevigate_modul=='sub'%][%pack:nevigate_pack-espcms_nevigate_modul_sub%][%/if%]
									[%if $read.nevigate_modul=='type'%][%pack:nevigate_pack-espcms_nevigate_modul_type%][%/if%]
									[%if $read.nevigate_modul=='member'%][%pack:nevigate_pack-espcms_nevigate_modul_member%][%/if%]
									[%if $read.nevigate_modul=='order'%][%pack:nevigate_pack-espcms_nevigate_modul_order%][%/if%]
									[%if $read.nevigate_modul=='enquiry'%][%pack:nevigate_pack-espcms_nevigate_modul_inquiry%][%/if%]
									[%if $read.nevigate_modul=='link'%][%pack:nevigate_pack-espcms_nevigate_modul_link%][%/if%]
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_name%]</label>
								<div class="col-sm-9 pt6">[%$read.nevigate_name%]</div>
							</div>

							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:nevigate_pack-espcms_nevigate_linkid%]</label>
								<div class="col-sm-9">
									<select class="selectpicker form-control" name="tid" id="tid" data-size="8" data-validation="^[1-9]{1}[0-9]*$" title="[%pack:nevigate_pack-espcms_nevigate_linkid_title%]" data-validation-msg="[%pack:nevigate_pack-espcms_nevigate_linkid_validation_msg%]">
										[%forlist from=$article_type_array key=i%]
										<option value="[%$article_type_array[i].tid%]"[%if $article_type_array[i].selected=='selected'%] selected="selected"[%/if%] class="[%$article_type_array[i].classname%]" data-icon="[%$article_type_array[i].icon%]">[%$article_type_array[i].typename%]</option>
										[%/forlist%]
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label"></label>
								<div class="col-sm-4"><span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true"></span>[%pack:nevigate_pack-espcms_nevigate_button_import_title%]</span></div>
							</div>

							<div class="form_button">
								<button type="submit" class="btn btn-green min-w-150" formmethod="POST">[%pack:botton_pack-espcms_botton_import_ok%]</button>
								<button type="button" class="btn btn-lightgray min-w-150 espcms_save_cancel">[%pack:botton_pack-espcms_botton_import_cancel%]</button>
							</div>
						</form>
					</div>
				</div>

			</div>
		</div>
		[%link file="public/load.html"%]
		[%link file="public/load_height.html"%]
	</body>
</html>
